<template>
  <view>
    <web-view :src="url" :update-title="false"></web-view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      url: ""
    }
  },
  onLoad(e) {
    var time = new Date().getTime();
    console.log(e)
    if(e.type==1){
      this.url = 'https://agreement.hxzx365.com/User.html?time=' + time
    }else if(e.type==2){
      this.url = 'https://agreement.hxzx365.com/Privacy.html?time=' + time
    }else if(e.type==3){
      this.url = 'https://agreement.hxzx365.com/disclaimer.html?time=' + time
    }
  },
  methods: {
  }
}
</script>

<style></style>
